﻿
namespace GMS.Framework.Common
{
    /// <summary>
    /// 枚举定义
    /// </summary>
    public class CommonEnum
    {
        /// <summary>
        /// 班级的状态
        /// </summary>
        public enum EnumClassStatus
        {
            /// <summary>
            /// 未开始
            /// </summary>
            NotStarted = 1,

            /// <summary>
            /// 正在进行
            /// </summary>
            InProgress = 2,

            /// <summary>
            /// 停课
            /// </summary>
            Finish = 3,

            /// <summary>
            /// 作废
            /// </summary>
            Cancel = 4
        }

        /// <summary>
        /// 班级是否推荐
        /// </summary>
        public enum EnumClassCommend
        {
            /// <summary>
            /// 全部
            /// </summary>
            All = 0,
            /// <summary>
            /// 未推荐
            /// </summary>
            NotCommend = 1,
            /// <summary>
            /// 已推荐
            /// </summary>
            Commend = 2
        }

        /// <summary>
        /// 操作类型
        /// </summary>
        public enum OperationType
        {
            /// <summary>
            /// 删除
            /// </summary>
            Delete = 0,

            /// <summary>
            /// 编辑
            /// </summary>
            Edit = 1,

            /// <summary>
            /// 新增
            /// </summary>
            Add = 2,

            /// <summary>
            /// 启用
            /// </summary>
            Used = 3,

            /// <summary>
            /// 禁用
            /// </summary>
            NotUsed = 4
        }

        /// <summary>
        /// 行业分类科目
        /// </summary>
        public enum EnumIndustryCategoryCourseSubject
        {
            /// <summary>
            /// 行业
            /// </summary>
            Industry = 1,

            /// <summary>
            /// 分类
            /// </summary>
            Category = 2,

            /// <summary>
            /// 科目
            /// </summary>
            CourseSubject = 3,
        }

        /// <summary>
        /// 线索客户状态 0.未处理，1.线索无效，2.客户已存在，3.转为新客户
        /// </summary>
        public enum EnumClueCustomerProgressStatus
        {
            /// <summary>
            /// 未处理
            /// </summary>
            NotDone = 0,

            /// <summary>
            /// 线索无效
            /// </summary>
            UselessClue = 1,

            /// <summary>
            /// 客户已存在
            /// </summary>
            CustomerExist = 2,

            /// <summary>
            /// 转为新客户
            /// </summary>
            NewCustomer = 3,
        }

        /// <summary>
        /// 客户跟进状态 1.未处理,2.联系方式无效,3.初访,4.意向,5.报名,6.拒绝报名,7.暂时搁置
        /// </summary>
        public enum EnumCustomerFollowStatus
        {
            /// <summary>
            /// 未处理
            /// </summary>
            NotDone = 1,

            /// <summary>
            /// 联系方式无效
            /// </summary>
            UselessPhone = 2,

            /// <summary>
            /// 初访
            /// </summary>
            FirstAsk = 3,

            /// <summary>
            /// 意向
            /// </summary>
            Wanted = 4,

            /// <summary>
            /// 报名
            /// </summary>
            Enroll = 5,

            /// <summary>
            /// 拒绝报名
            /// </summary>
            Reject = 6,

            /// <summary>
            /// 暂时搁置
            /// </summary>
            LieOver = 7,
        }

        /// <summary>
        /// 考勤用班级状态
        /// </summary>
        public enum EnumAttendanceClassStatus
        {
            /// <summary>
            /// 进行中
            /// </summary>
            Started = 1,

            /// <summary>
            /// 已停课
            /// </summary>
            Stopped = 2,

            /// <summary>
            /// 未开始
            /// </summary>
            NotStart = 3,

            /// <summary>
            /// 已作废
            /// </summary>
            Nullify = 4
        }

        /// <summary>
        /// mycourse表购买渠道
        /// </summary>
        public enum EnumMyCourseType
        {
            /// <summary>
            /// 自己购买
            /// </summary>
            Oneself = 1,

            /// <summary>
            /// 后台报名管理添加
            /// </summary>
            EnrollManagement = 2,

            /// <summary>
            /// 讲师或助教的身份添加
            /// </summary>
            TeacherOrAssistant = 3
        }

        /// <summary>
        /// 用户身份
        /// </summary>
        public enum EnumUserType
        {
            /// <summary>
            /// 全部
            /// </summary>
            All = 0,

            /// <summary>
            /// 学员
            /// </summary>
            Student = 1,

            /// <summary>
            /// 讲师或者助教
            /// </summary>
            TeacherOrAssistant = 2
        }

        /// <summary>
        /// 监控统计的类型
        /// </summary>
        public enum EnumMonitorEventType
        {
            /// <summary>
            /// 1表示是登陆
            /// </summary>
            Login = 1,

            /// <summary>
            /// 2表示点击菜单
            /// </summary>
            ModuleClick = 2
        }

        /// <summary>
        /// 线索客户的处理状态
        /// </summary>
        public enum EnumCuleHandleStatus
        {
            /// <summary>
            /// 未处理
            /// </summary>
            Untreated = 0,

            /// <summary>
            /// 线索无效
            /// </summary>
            Invalid = 1,

            /// <summary>
            /// 客户已存在
            /// </summary>
            Exist = 2,

            /// <summary>
            /// 已转换为新客户
            /// </summary>
            ChangeNewCustomer = 3
        }

        /// <summary>
        /// 班级授课形式枚举（1、线上班 2、线下班,3.线上+线下）
        /// </summary>
        public enum EnumTeachingWay
        {
            /// <summary>
            /// 线上班
            /// </summary>
            Online = 1,

            /// <summary>
            /// 线下班
            /// </summary>
            Offline = 2,

            /// <summary>
            /// 线上+线下
            /// </summary>
            OnlineAndOffline = 3,
        }

        /// <summary>
        /// 月份
        /// </summary>
        public enum Month
        {
            /// <summary>
            /// 一月
            /// </summary>
            January = 1,

            /// <summary>
            /// 二月
            /// </summary>
            February = 2,

            /// <summary>
            /// 三月
            /// </summary>
            March = 3,

            /// <summary>
            /// 四月
            /// </summary>
            April = 4,

            /// <summary>
            /// 五月
            /// </summary>
            May = 5,

            /// <summary>
            /// 六月
            /// </summary>
            June = 6,

            /// <summary>
            /// 七月
            /// </summary>
            July = 7,

            /// <summary>
            /// 八月
            /// </summary>
            August = 8,

            /// <summary>
            /// 九月
            /// </summary>
            September = 9,

            /// <summary>
            /// 十月
            /// </summary>
            October = 10,

            /// <summary>
            /// 十一月
            /// </summary>
            November = 11,

            /// <summary>
            /// 十二月
            /// </summary>
            December = 12
        }

        /// <summary>
        /// 微信交易状态
        /// </summary>
        public enum WeChatTradeState
        {
            /// <summary>
            /// 未交易
            /// </summary>
            NotPay = 0,

            /// <summary>
            /// 成功
            /// </summary>
            Success = 1,

            /// <summary>
            /// 失败
            /// </summary>
            Fail = 2
        }

        /// <summary>
        /// 域名类型：1：后台， 2：web端
        /// </summary>
        public enum DomainType
        {
            /// <summary>
            /// 后台域名
            /// </summary>
            Crm = 1,

            /// <summary>
            /// web端域名
            /// </summary>
            Web = 2
        }

        #region 用户反馈相关
        
        /// <summary>
        /// 用户反馈--反馈区分：1.app，2.obs，3.机构后台
        /// </summary>
        public enum EnumAssFeedBackType
        {
            /// <summary>
            /// app端
            /// </summary>
            App = 1,

            /// <summary>
            /// obs端
            /// </summary>
            Obs = 2,

            /// <summary>
            /// 机构后台
            /// </summary>
            Crm = 3
        }

        /// <summary>
        /// 处理状态：0.未处理，1.已处理
        /// </summary>
        public enum EnumAssFeedBackHandleStatus
        {
            /// <summary>
            /// 未处理
            /// </summary>
            NotHandle = 0,

            /// <summary>
            /// 已处理
            /// </summary>
            Handle = 1
        }

        #endregion
    }
}